children = int(input())
price = 10
x = children * price
print(f"{children} {x}")